package model;


/**
 * 双重链表元素类
 */
public final class DoubleLinkNode extends AbstractNode {
    private DoubleLinkNode beforeNode;
    private DoubleLinkNode afterNode;

    public DoubleLinkNode getBeforeNode() {
        return beforeNode;
    }

    public void setBeforeNode(DoubleLinkNode beforeNode) {
        this.beforeNode = beforeNode;
    }

    public DoubleLinkNode getAfterNode() {
        return afterNode;
    }

    public void setAfterNode(DoubleLinkNode afterNode) {
        this.afterNode = afterNode;
    }
}
